package com.zmzncs.lmtc.module.park.pojo.park_manager;

import com.zmzncs.lmtc.common.pojo.enums.SexEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 微信授权信息
 * </p>
 *
 * @author
 * @since 2020-08-26
 */
@Data
public class WeiXinAuthorizeForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "微信code", required = true)
    @NotBlank
    private String code;

    @ApiModelProperty(value = "昵称", required = true)
    @NotBlank
    private String nickname;

    @ApiModelProperty(value = "用户头像", required = true)
    @NotBlank
    private String avatar;

    @ApiModelProperty(value = "性别（MEN：男，WOMEN：女）", required = true)
    @NotNull
    private SexEnum sex;

}
